using System.Collections.Generic;
using AutoMapper;
using EFDemo.Entity;
using EFDemo.Model;

namespace EFDemo.Mapper;

public class RecipeMapper:Profile
{
    public RecipeMapper()
    {
        CreateMap<Recipe, RecipeModel>();
        CreateMap<RecipeModel, Recipe>();

        CreateMap<SamplePlan, SamplePlanModel>();
        CreateMap<SamplePlanModel, SamplePlan>();

        CreateMap<RecipeTest, RecipeTestModel>();
        CreateMap<RecipeTestModel, RecipeTest>();
        
        CreateMap<WaferMap, WaferMapModel>();
        CreateMap<WaferMapModel, WaferMap>();
    }
}